/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.health.entity;


import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 遗传病Entity
 * @author xueyx
 * @version 2017-07-20
 */
public class GeneticDict extends DataEntity<GeneticDict> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// name
	private String weight;		// weight
	
	public GeneticDict() {
		super();
	}

	public GeneticDict(String id){
		super(id);
	}

	@Length(min=0, max=255, message="name长度必须介于 0 和 255 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=11, message="weight长度必须介于 0 和 11 之间")
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}
	
}